<div class="form_item form_item_text form_item_input_mutil">
	<strong>!{if $item.required eq true}<span class="red">*</span>!{/if}!{$item.name}：</strong>
	<div class="muti_val_item" id="!{$item.id}_div">
		!{foreach from=$item.value item=v name=c}
		!{if $smarty.foreach.c.index eq 0}
		<input type="text" value="!{$v}" name="!{$item.id}[]" class="!{$item.id}_input text_input">
		!{else}
		<input type="text" value="!{$v}" name="!{$item.id}[]" class="text_input">
		!{/if}
		!{foreachelse}
		<input type="text" name="!{$item.id}[]" class="text_input">
		!{/foreach}
	</div>
	<input type="button" class="button add_!{$item.id}" value="添加">
	<p>!{$item.desc}</p>
</div>
<script>
	$(function(){
		$(".add_!{$item.id}").click(function(){
			$("#!{$item.id}_div").append('<input type="text" name="!{$item.id}[]" class="text_input">');
		});
	});
</script>